<?
if($deltager_info['aktiv'] == 1) { $status = "Aktiv"; }
else { $status = "Ikke aktiv"; }

?>

<p style="float:right;" class="rubrik">deltager id: <b><? echo $deltager_info['id']; ?></b></p>
<h1 class="rubrik"><? echo $deltager_info['navn']; ?></h1>
<h2 class="rubrik"><span class="ink">Status:</span> <? echo $status; 

if($deltager_info['administrator'] == 1) { 
echo ", Administrator";	
}?></h2>
<h2 class="rubrik">Email: <? echo mailto($deltager_info['email'],$deltager_info['email'],"class='ink'"); ?></h2>

<br/>
<?
//print_r($player_characters);
echo "<h2 class='rubrik'>Player Characters</h2>";
foreach($player_characters as $pc) {

echo "<p>".anchor("almanak/side/".$pc['pc_id'],$pc['pc_navn'],"class='ink'")."</p>";
	
}


echo br(1);

if(!empty($kampagner)) {
	echo "<h2 class='rubrik'>Gamemaster for </h2>";
	foreach($kampagner as $kmp) {
		echo "<p>".anchor("almanak/side/".$kmp['kampagne_id'],$kmp['kampagne_navn'],"class='ink'")."</p>";
	}
}
?>
